Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added ability to specify sort order for person/contact search results #820

Merged
merged 3 commits into from
Sep 18, 2023

Conversation

hortha
Copy link
Contributor

@hortha hortha commented Sep 15, 2023

Context

Users need to be able to sort person search results so that they can more quickly identify the person they’re looking for.

Changes proposed in this pull request

Add a ‘Sort by’ drop down following the designs in Figma.

Add the following options:

Last name (A-Z)
Last name (Z-A)
First name (A-Z)
First name (Z-A)
Date of birth (ascending)
Date of birth (descending)
Update the queries to honour the requested sort by option. The chosen option should be passed around as a query parameter.

‘Last name (A-Z)' should be the default option.

Guidance to review

CRM Query changes + UI + tests

Checklist

  • Attach to Trello card
  • Rebased master
  • Cleaned commit history
  • Tested by running locally

@hortha hortha requested a review from gunndabad September 15, 2023 09:20
@hortha
Copy link
Contributor Author

hortha commented Sep 15, 2023

@hortha hortha force-pushed the sort-person-search-results branch from d75a118 to 3ed845a Compare September 15, 2023 09:21
@hortha hortha temporarily deployed to dev_aks September 15, 2023 09:52 — with GitHub Actions Inactive
@hortha hortha force-pushed the sort-person-search-results branch from 3ed845a to 1833e72 Compare September 15, 2023 10:05
@hortha hortha temporarily deployed to dev_aks September 15, 2023 10:21 — with GitHub Actions Inactive
@hortha hortha force-pushed the sort-person-search-results branch from cb9c470 to 4514bc8 Compare September 15, 2023 13:07
@hortha hortha requested a review from gunndabad September 15, 2023 13:08
@hortha hortha temporarily deployed to dev_aks September 15, 2023 13:39 — with GitHub Actions Inactive
@hortha hortha force-pushed the sort-person-search-results branch from 4514bc8 to edf8394 Compare September 18, 2023 09:32
@hortha hortha temporarily deployed to dev_aks September 18, 2023 09:40 — with GitHub Actions Inactive
@hortha hortha temporarily deployed to dev_aks September 18, 2023 10:26 — with GitHub Actions Inactive
@hortha hortha force-pushed the sort-person-search-results branch from d718f8f to e8bd3d1 Compare September 18, 2023 14:27
@hortha hortha temporarily deployed to dev_aks September 18, 2023 14:34 — with GitHub Actions Inactive
@hortha hortha force-pushed the sort-person-search-results branch from e8bd3d1 to 12d1fdf Compare September 18, 2023 15:52
@hortha hortha temporarily deployed to dev_aks September 18, 2023 16:00 — with GitHub Actions Inactive
@hortha hortha merged commit 636ac71 into main Sep 18, 2023
12 checks passed
@hortha hortha deleted the sort-person-search-results branch September 18, 2023 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants